package com.lxw.study.structural.proxy.dynamicproxy.proxyfactory;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class HelloProxy {
    public String hello(String name) {

        log.info("目标方法 hello " + name);
        return "hello " + name;
    }

    public String hi(String name) {
        log.info("目标方法 hi " + name);
        return "hi " + name;
    }
}
